package com.example.haojiutao.interceptor;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description:
 * @Author: wang_meiying
 * @CreateTime: 2024/1/25 19:25
 */

@Component
@ConfigurationProperties(prefix = "online.jwt")
@Data
public class JWTProperties {
    private String secretKey; //密钥
    private long ttl;//过期时间
    private String tokenName;

}
